package com.llb666.e.shop.infrastructure.convert;

import com.llb666.e.shop.domain.entity.OrderStatus;
import com.llb666.e.shop.infrastructure.po.OrderStatusPo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * @author 斌~
 * @date 2022/8/7 下午8:45
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface OrderStatusCvt {
    OrderStatusCvt INSTANCE = Mappers.getMapper(OrderStatusCvt.class);

    OrderStatusPo do2po(OrderStatus orderStatus);

    OrderStatus po2do(OrderStatusPo orderItemsPo);
}
